function Pile(cards, overridingOrientation) {
	this.cards = cards;
	this.overridingOrientation = overridingOrientation;
	this.table = null;
}

Pile.prototype = {
	subPileFromPile : function (index, length) {
	
	},
	
	insertPileAt : function (pile, index) {
	
	},
	
	appendPile : function (pile) {
	
	},
	
	appendCard : function (card) {
		if (this.overridingOrientation !== Card.orientation.none) {
			card.orientation = this.overridingOrientation;
		}
		
		this.cards.push(card);
	}



};